package org.lwd.datalink.domain.enent;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.lwd.datalink.domain.media.parameter.hbase.HBaseMediaSrcParameter;
import org.lwd.datalink.domain.media.parameter.zk.ZkMediaSrcParameter;
import org.lwd.datalink.event.CallbackEvent;
import org.lwd.datalink.utils.FutureCallback;

/**
 * @Author: weidong.lin
 */
@ToString
@Getter
@Setter
public class HBaseSplitEvent extends CallbackEvent {
    private HBaseMediaSrcParameter hbaseParameter;

    private ZkMediaSrcParameter zkParameter;

    private String tableName;

    private Integer splitCount;

    public HBaseSplitEvent(FutureCallback event, HBaseMediaSrcParameter hbaseParameter, ZkMediaSrcParameter zkParameter, String tableName, Integer splitCount) {
        super(event);
        this.hbaseParameter = hbaseParameter;
        this.zkParameter = zkParameter;
        this.tableName = tableName;
        this.splitCount = splitCount;
    }
}
